package com.vogue.supplymall.admin.business.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 开通集团基本信息
 */
@Entity
@Table(name = "admin_organ")
public class AdminOrgan extends BaseEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -5892461364733784226L;

    private String organname;

    private Long syscode;

    private Long syscodeid;

    private String tel;

    private Integer tpsystem;

    private String memo;

    private Long updateuserid;

    private String updateuser;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date opendate;

    public String getOrganname() {
        return organname;
    }

    public void setOrganname(String organname) {
        this.organname = organname;
    }

    public Long getSyscode() {
        return syscode;
    }

    public void setSyscode(Long syscode) {
        this.syscode = syscode;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getTpsystem() {
        return tpsystem;
    }

    public void setTpsystem(Integer tpsystem) {
        this.tpsystem = tpsystem;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(Long updateuserid) {
        this.updateuserid = updateuserid;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }

    public Date getOpendate() {
        return opendate;
    }

    public void setOpendate(Date opendate) {
        this.opendate = opendate;
    }
}
